//
//  UIButton+YGImagePosition.h
//  UIKit分类整合
//
//  Created by Mr.xu on 2017/1/8.
//  Copyright © 2017年 xiaokang100. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, YGButtonImagePositionType) {
    YGButtonImagePositionTypeLeft         = 0,   //图片在左，文字在右，默认
    YGButtonImagePositionTypeRight        = 1,   //图片在右，文字在左
    YGButtonImagePositionTypeTop          = 2,   //图片在上，文字在下
    YGButtonImagePositionTypeBottom       = 3,   //图片在下，文字在上
};
@interface UIButton (YGImagePosition)

- (void)yg_setBtnImagePositionType:(YGButtonImagePositionType)postionType space:(CGFloat)space;
@end
